package service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.service.UserService;
import org.springframework.security.core.GrantedAuthority;

import java.util.ArrayList;
import java.util.List;

public class SpringSecurityUserService {
    @Reference//注意 此处要通过dubbo远程调用用户服务
    private UserService userService;
    //根据用户名查询用户信息
List<GrantedAuthority> list = new ArrayList<>();

}
